package plus.chendd.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
//@NoArgsConstructor
public class User extends Person {
  private int age;
  private String address;

  private User() {}

  /**
   * 私有方法 eat
   * @author lvdaxiaenr
   * @return String 字符串
   */
  private String eat() {
    return "eat";
  }
}
